package com.murong.ai.coder.entity;

import lombok.Data;

import java.util.List;

/**
 * 由transaction-inputs.json生成，存储交易服务定义的实体类
 */
@Data
public class InterFaceEntity {

    @Data
    public static class Field {
        private String nameCamel;
        private String nameSnake;
        private String type;
        private String commentCn;
        private String commentEn;
        private String dbTyp;
        private Integer length;
        private Boolean required;
    }

    @Data
    public static class Properties {
        private String updateBy;
        private String updateTime;
        private String actionPackage;
        private String controllerPackage;
        private String interfacePackage;
        private String requestPackage;
        private String responsePackage;
        private String requestClass;
        private String responseClass;
        private String interfaceUrl;
        private String methodUrl;
    }

    private String interfaceName;
    private String transName;
    private String className;
    private String transCommentZh;
    private String transCommentEn;
    private String transClass;
    private String simpleName;
    private List<Field> request;
    private List<Field> response;
    private Properties properties;
} 